package com.software.course.dao;

import com.software.course.enity.Course;
import com.software.course.enity.File;
import com.software.course.enity.User;
import com.software.course.enity.query.TeacherQuery;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface TeacherDao {
     public List<User> listStu();

     public List<User> liseStuByName(TeacherQuery teacherQuery);

     public List<Course> listCourse();

     File getFileByUserId(Integer id);

}
